<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div class="dokuwiki export">
<div class="table sectionedit1"><table class="inline">
	<tr class="row0">
		<td class="col0 leftalign"> « <a href="geda-gnetlist_ug-introduction.html" class="wikilink1" title="geda-gnetlist_ug-introduction.html">Introduction</a>  </td><td class="col1 centeralign">  <strong><a href="geda-gnetlist_ug.html" class="wikilink1" title="geda-gnetlist_ug.html">gEDA gnetlist User Guide</a></strong>     </td><td class="col2 rightalign">  <a href="geda-gnetlist_ug-input_output_files.html" class="wikilink1" title="geda-gnetlist_ug-input_output_files.html">Input &amp; output files</a> » </td>
	</tr>
</table></div>
<!-- EDIT1 TABLE [1-179] -->
<h2 class="sectionedit2"><a name="running_gnetlist" id="running_gnetlist">Running gnetlist</a></h2>
<div class="level2">

<p>
<p><div class="notetip">Are you looking for help with <a href="geda-installation.html" class="wikilink1" title="geda-installation.html">installing gEDA</a>?
</div></p>
</p>

<p>
gnetlist has a command-line interface, and can be run using the <code>gnetlist</code> command in a terminal window.  For example, a normal command to run gnetlist on a design in order to generate a list of components used might look like this:
</p>
<pre class="code">gnetlist -g bom2 -o stepper.bom power-supply.sch motor-drive.sch</pre>

<p>
To run gnetlist, you will usually need to <a href="geda-gnetlist_ug-input_output_files.html" class="wikilink1" title="geda-gnetlist_ug-input_output_files.html">specify a list of schematic files</a> to process; choose a <em><a href="geda-gnetlist_ug-netlist_backends.html" class="wikilink1" title="geda-gnetlist_ug-netlist_backends.html">netlist backend</a></em> to use to generate the output; and provide the name of the <a href="geda-gnetlist_ug-input_output_files.html" class="wikilink1" title="geda-gnetlist_ug-input_output_files.html">output file</a> in which to save the netlist.
</p>

<p>
gnetlist accepts a variety of optional arguments that can be used to alter its behaviour.  They are also explained in the gnetlist manpage (which you can view by running <code>man gnetlist</code>).
</p>

</div>
<!-- EDIT2 SECTION "Running gnetlist" [181-] --></div>
</body>
</html>
